package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.BookText;
import com.xmy.cultivate.mapper.BookTextMapper;
import com.xmy.cultivate.service.IBookTextService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 书名 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-03-13
 */
@Service
public class BookTextServiceImpl extends ServiceImpl<BookTextMapper, BookText> implements IBookTextService {
    @Autowired
    BookTextMapper bookTextMapper;

    @Override
    public BookText getDistinctDetailsByBookTextId(Long bookTextId) {
        return bookTextMapper.getDistinctDetailsByBookTextId(bookTextId);
    }
}
